package com.hqd.ch03.v10.factory;

import com.hqd.ch03.v10.config.Scope;

public interface ConfigurableBeanFactory extends BeanFactory {
    /**
     * 单例
     */
    String SCOPE_SINGLETON = "singleton";
    /**
     * 多利
     */
    String SCOPE_PROTOTYPE = "prototype";

    /**
     * 注册作用域
     *
     * @param scopeName
     * @param scope
     */
    void registerScope(String scopeName, Scope scope);
}
